import { Meta, Story, Preview, Props } from "@storybook/addon-docs/blocks";
import Toggle from "components/Toggle";

<Meta title="Components/Toggle" component={Toggle} />

# Toggle

## Props

<Props of={Toggle} />

## Examples

### Basic

Basic usages for `Toggle` component.

<Preview>
  <Story name="basic toggle">
    <div style={{ textAlign: "center", padding: 40 }}>
      <Toggle defaultChecked showText />
    </div>
  </Story>
</Preview>
